Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 55 for opA (0.18 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/test_cluster_ops_by_policy.cc

    };
    
    // Clustering policy for `test.OpA` and `test.OpB` operations;
    class TestOpsClusteringPolicy : public ClusteringPolicy {
      LogicalResult MatchAndUpdateConstraints(
          Operation* op, const ValuesConstraintSet& results,
          ValuesConstraintSet& operands) const final {
        // Check if operation is `test.OpA` or `test.OpB`.
        bool is_op_a = op->getName().getStringRef() == "test.OpA";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 04 09:19:38 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  2. internal/config/policy/plugin/config.go

    	if err != nil {
    		return false, err
    	}
    
    	// Handle large OPA responses when OPA URL is of
    	// form http://localhost:8181/v1/data/httpapi/authz
    	type opaResultAllow struct {
    		Result struct {
    			Allow bool `json:"allow"`
    		} `json:"result"`
    	}
    
    	// Handle simpler OPA responses when OPA URL is of
    	// form http://localhost:8181/v1/data/httpapi/authz/allow
    	type opaResult struct {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/tf_device_ops.mlir

      // CHECK-SAME: n = 2
      // CHECK:   tf_device.return
    }
    
    // -----
    
    // CHECK-LABEL: func @replicate_with_multiple_operands
    func.func @replicate_with_multiple_operands() {
      %0 = "tf.opA"() : () -> tensor<*xi1>
      %1 = "tf.opB"() : () -> tensor<*xi1>
      %2 = "tf.opC"() : () -> tensor<*xi1>
      %3 = "tf.opD"() : () -> tensor<*xi32>
      %4 = "tf.opE"() : () -> tensor<*xi32>
      %5 = "tf.opF"() : () -> tensor<*xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 23 23:53:20 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  4. cmd/config-migrate.go

    		cfg.Compression.MimeTypes = strings.Split(compress.DefaultMimeTypes, config.ValueSeparator)
    	case "30":
    		// V30 -> V31
    		cfg.OpenID = openid.Config{}
    		cfg.Policy.OPA = opa.Args{
    			URL:       &xnet.URL{},
    			AuthToken: "",
    		}
    	case "31":
    		// V31 -> V32
    		cfg.Notify.NSQ = make(map[string]target.NSQArgs)
    		cfg.Notify.NSQ["1"] = target.NSQArgs{}
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/xla_broadcast.mlir

      // CHECK-NEXT:     "tf.OpA"(%[[REDUCED]]) : (tensor<f32>) -> ()
      tf_device.replicate {n = 4 : i32} {
        "tf_device.cluster"() ({
          "tf.OpA"(%arg0) : (tensor<f32>) -> ()
          tf_device.return
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 13 18:52:07 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/check_control_dependencies.mlir

        tf_executor.graph {
          // expected-error@+1 {{functions must be of a single Graph with single op Islands: tf_executor.island must perfectly wrap a single op}}
          %island = tf_executor.island {
            "tf.OpA"() : () -> ()
            "tf.OpB"() : () -> ()
            tf_executor.yield
          }
          tf_executor.fetch
        }
        func.return
      }
    }
    
    // -----
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 31 16:14:07 UTC 2022
    - 8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/sparsecore_passes.td

        during TPURewritePass.
    
        For example, the tf.OpA with the `mini_batch_splits` attribute will be
        moved after _TPUCompileMlir and the first input will use the
        _TPUCompileMlir program output:
    
        ```mlir
        "tf_device.launch"() ({
         %cst_0 = "tf.Const"() {value = dense<""> : tensor<1x!tf_type.string>} : () -> tensor<1x!tf_type.string>
         "tf.OpA"(%cst_0) { mini_batch_splits = ""} : (tensor<1x!tf_type.string>) -> ()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 28 23:42:09 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/utils/cluster_util.h

    // guaranteed to dominate all live-in values. On the other hand, it is still
    // possible that live-out values don't dominate the region. For example:
    //
    // ```
    // %0 = "tf.OpA"()
    // %1 = "tf.OpB"(%0)
    // %2 = "tf.OpC"(%0)
    // ```
    //
    // Assuming `tf.OpA` and `tf.OpC` are clustered together, the region will be
    // inserted right after `tf.OpC`. The live-out `%0`, however, is used by
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 21 22:33:23 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/utils/attribute_utils.h

    //
    // tf_executor.island wraps "tf.OpA"
    // tf_executor.island {
    //  "tf_device.replicate" {n = 2} {
    //    "tf.OpB"
    //    "tf_device.parallel_execute"() ({
    //      "tf.OpC"
    //    }, {
    //      "tf.OpD"
    //    })
    //  }
    //
    // The above IR will be flattened after `ReplicateToIslandPass` and
    // `ParallelExecuteToIslandsPass` as follows:
    //
    // tf_executor.island wraps "tf.OpA"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 19:47:48 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/tf_device_passes.td

        For example, the following:
    
        ```mlir
        func @single_op_launch() {
          %a = "tf.opA"() {device = "CPU:0"} : () -> tensor<i1>
          return %a
        }
        ```
    
        will be transformed into:
    
        ```mlir
        func @single_op_launch() {
          %1 = tf_device.launch() ( {
            %a = "tf.opA"() : () -> tensor<i1>
            tf_device.return %a
          }) {device = "CPU:0"} : () -> tensor<i1>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 18:52:57 UTC 2024
    - 12.5K bytes
    - Viewed (0)
Back to top