Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 54 for cond_input (0.19 sec)

  1. tensorflow/c/while_loop_test.cc

      EXPECT_TRUE(params_->body_graph != nullptr);
      EXPECT_TRUE(params_->cond_graph != nullptr);
    
      EXPECT_EQ(params_->ninputs, 2);
    
      ASSERT_TRUE(params_->cond_inputs != nullptr);
      ASSERT_TRUE(params_->cond_inputs[0].oper != nullptr);
      EXPECT_TRUE(params_->cond_inputs[1].oper != nullptr);
    
      ASSERT_TRUE(params_->body_inputs != nullptr);
      EXPECT_TRUE(params_->body_inputs[0].oper != nullptr);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 11 06:05:56 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

    // WhileOp
    //===----------------------------------------------------------------------===//
    
    static LogicalResult VerifyWhileTypes(Operation *op, TypeRange cond_input,
                                          TypeRange body_input,
                                          TypeRange body_result,
                                          bool shape_invariant) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  3. tensorflow/c/c_api.cc

        if (!CreateInput(inputs[i], cond_graph, StrCat("cond_input", i).c_str(),
                         &cond_inputs[i], status)) {
          break;
        }
        if (!CreateInput(inputs[i], body_graph, StrCat("body_input", i).c_str(),
                         &body_inputs[i], status)) {
          break;
        }
      }
    
      TF_WhileParams params = {ninputs,    cond_graph,  cond_inputs,  cond_output,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_ops_invalid.mlir

      // expected-error@+1 {{'tf_saved_model.bound_input' attribute should be a FlatSymbolRefAttr}}
      func.func @f(
        %arg0: tensor<f32> {tf_saved_model.bound_input = 1 : i32}
      ) attributes { tf_saved_model.exported_names = ["foo.some_func"] } {
        func.return
      }
    
    }
    
    // -----
    
    module attributes {tf_saved_model.semantics} {
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 19 13:38:14 UTC 2022
    - 14.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_freeze_global_tensors.mlir

      func.func @f(%arg1: tensor<!tf_type.resource<tensor<f32>>> {tf_saved_model.bound_input = @"v"}, %arg2: tensor<!tf_type.resource<tensor<f32>>> {tf_saved_model.bound_input = @"v2"})
      attributes {tf_saved_model.exported_names = ["f"]} {
        // CHECK-DAG: "tf.Const"() <{value = dense<1.000000e+00> : tensor<f32>}>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 15 03:07:35 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_optimize_global_tensors.mlir

      // CHECK: func @h(%arg0: tensor<!tf_type.resource<tensor<f32>>> {tf_saved_model.bound_input = @c})
      func.func @h(%arg0: tensor<!tf_type.resource<tensor<f32>>> {tf_saved_model.bound_input = @c})
      attributes {tf_saved_model.exported_names = ["h"]} {
        %0 = "tf.ReadVariableOp"(%arg0) : (tensor<!tf_type.resource<tensor<f32>>>) -> tensor<f32>
        func.return
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:49:35 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/stablehlo/transforms/drop_savedmodel_semantics.cc

            if (func.getArgAttrOfType<FlatSymbolRefAttr>(i, bound_input)) {
              func.removeArgAttr(i, bound_input);
            }
            func.removeArgAttr(i, index_path);
          }
          for (unsigned i = 0, e = func.getNumResults(); i != e; ++i) {
            func.removeResultAttr(i, bound_input);
            func.removeResultAttr(i, index_path);
          }
        });
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 13 23:39:10 UTC 2022
    - 3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/lower_globals_to_ml_program.mlir

      "tf_saved_model.global_tensor"() { is_mutable, sym_name = "v", type = tensor<?xf32>, value = dense<1.> : tensor<1xf32> } : () -> ()
      func.func @f(%arg0: tensor<!tf_type.resource<tensor<?xf32>>> {tf_saved_model.bound_input = @v})
      -> (tensor<?xf32> {tf_saved_model.index_path = []})
      attributes {tf_saved_model.exported_names = ["f"]} {
        %0 = "tf.ReadVariableOp"(%arg0) : (tensor<!tf_type.resource<tensor<?xf32>>>) -> tensor<?xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 24 21:57:26 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_optimize_global_tensors_interprocedural.mlir

      // CHECK: func @f(%arg0: tensor<!tf_type.resource<tensor<f32>>> {tf_saved_model.bound_input = @v})
      func.func @f(%arg0: tensor<!tf_type.resource<tensor<f32>>> {tf_saved_model.bound_input = @v}) -> (tensor<f32> {tf_saved_model.index_path = []})
      attributes {tf_saved_model.exported_names = ["f"]} {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:49:35 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/localize_var_handles.mlir

      // CHECK-LABEL: @read_from_global
      func.func @read_from_global(%arg0: tensor<!tf_type.resource<tensor<10xf32>>> {tf_saved_model.bound_input = @v})
      attributes {tf_saved_model.exported_names = ["read_from_global"]} {
        // CHECK: [[name:%.*]] = "tf.VarHandleOp"
        // CHECK: "tf.ReadVariableOp"([[name]])
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 23 21:12:02 UTC 2023
    - 10.3K bytes
    - Viewed (0)
Back to top