Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for some_operation (0.13 sec)

  1. tensorflow/compiler/mlir/lite/experimental/remat/rematerializer_test.cc

          std::uniform_int_distribution<int> some_operation(0, num_operations - 1);
    
          for (int i = 0; i < num_tensors; ++i) {
            AddTensor(SizeT{1} << some_size_log(rng));
          }
          for (int i = 0; i < num_operations; ++i) {
            AddOperation(/*is_stateful=*/false);
          }
          for (int i = 0; i < num_uses; ++i) {
            AddUse(some_operation(rng), some_tensor(rng));
          }
        }
      };
    };
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 14 20:57:44 UTC 2023
    - 19.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/cluster_ops_by_policy.h

    // Infers constraints for the values in the function body from the function
    // results attributes.
    //
    // Example:
    //   func @test(...) -> (tensor<?x?xf32> {tf.constraint = "shape"}) {
    //     .....
    //     %v = "some_operation"() : () -> tensor<?x?xf32>
    //     return %v : tensor<?x?xf32>
    //   }
    LogicalResult InferFunctionBodyValuesConstraints(
        func::FuncOp func, ValuesConstraintSet& constraints);
    
    }  // namespace TFDevice
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 03 03:47:00 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/type_attr.mlir

    // CHECK:   operator_codes: [ {
    // CHECK:     deprecated_builtin_code: 32,
    // CHECK:     custom_code: "SomeOperation",
    // CHECK:     builtin_code: CUSTOM
    // CHECK:   } ],
    // CHECK:   subgraphs: [ {
    // CHECK:     tensors: [ {
    // CHECK:       shape: [  ],
    // CHECK:       type: INT32,
    // CHECK:       buffer: 1,
    // CHECK:       name: "tf.SomeOperation",
    // CHECK:       quantization: {
    // CHECK-EMPTY
    // CHECK:       }
    // CHECK:     } ],
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 24 07:31:32 UTC 2022
    - 1.3K bytes
    - Viewed (0)
Back to top