Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 29 of 29 for shape_determination_fns_ (0.25 sec)

  1. tensorflow/compiler/mlir/tensorflow/utils/tf_xla_mlir_translate.cc

          IdentityShapeRepresentationFn();
      XlaShapeLayoutHelpers::ShapeDeterminationFns shape_determination_fns{
          UseNoPreferenceLayoutFn(), IdentityShapeRepresentationFn()};
      return PopulateResultIOInfo(module_op, arg_shapes, /*use_tuple_args=*/false,
                                  /*use_resource_updates_for_aliases=*/false,
                                  shape_determination_fns, compilation_result);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/api/v2/legalize_tf.h

        llvm::StringRef device_type,
        std::vector<std::unique_ptr<mlir::Pass>>& custom_legalization_passes,
        XlaShapeLayoutHelpers::ShapeDeterminationFns shape_determination_fns,
        const std::vector<tensorflow::TensorShape>& arg_shapes,
        std::vector<tpu::ShardingAndIndex>* arg_core_mapping,
        std::vector<std::vector<xla::Shape>>* per_core_arg_shapes,
        xla::CompileOnlyClient* client);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 07:32:57 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/api/v1/compile_tf_graph_test.cc

        }
    
        XlaShapeLayoutHelpers::ShapeDeterminationFns shape_determination_fns;
    
        absl::Status compilation_status =
            tensorflow::tf2xla::v1::CompileTensorflowGraphToHlo(
                computation, metadata_proto, use_tuple_args,
                shape_determination_fns, arg_shapes, &arg_core_mapping,
                &per_core_arg_shapes, client, &compilation_result);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 08:08:57 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/internal/mlir_pass_instrumentation_test.cc

                       legalization, arg_shapes, /*device_type=*/"XLA_TPU_JIT",
                       /*use_tuple_args=*/true, /*enable_op_fallback=*/false,
                       /*shape_determination_fns=*/{}, &compilation_result)
                       .status());
    
      EXPECT_FALSE(GetPassThatChangedIdentity().empty());
    }
    
    }  // namespace
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 19 22:54:26 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/api/v2/legalize_tf_test.cc

      return LegalizeMlirToHlo(mlir_to_hlo_args, metadata_proto, use_tuple_args,
                               /*device_type=*/"XLA_TPU_JIT",
                               custom_legalization_passes,
                               /*shape_determination_fns=*/{}, arg_shapes,
                               &arg_core_mapping, &per_core_arg_shapes, client);
    }
    
    TEST(LegalizeTFTest, RecordsStreamzForSuccessfulLegalizeWithMlirBridge) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 13 23:59:33 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/xla_gpu_device.cc

        options.allowed_devices = gpu_ids;
        XlaShapeLayoutHelpers::ShapeDeterminationFns shape_representation_fns{
            UseNoPreferenceLayoutFn(), IdentityShapeRepresentationFn()};
        options.shape_determination_fns = {shape_representation_fns};
        auto device = std::make_unique<XlaDevice>(session_options, options);
    
        Status status = device->UseAcceleratorDeviceInfo();
        if (!status.ok()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/xla_cpu_device.cc

      options.use_multiple_streams = false;
      XlaShapeLayoutHelpers::ShapeDeterminationFns shape_representation_fns{
          UseNoPreferenceLayoutFn(), IdentityShapeRepresentationFn()};
      options.shape_determination_fns = {shape_representation_fns};
      auto device = std::make_unique<XlaDevice>(session_options, options);
    
      // Setting AcceleratorDeviceInfo because eager runtime relies on the device
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/internal/legalize_tf_to_hlo_test.cc

      return LegalizeTfToHlo(mlir_to_hlo_args, metadata_proto, use_tuple_args,
                             /*device_type=*/"XLA_TPU_JIT",
                             /*shape_determination_fns=*/{}, arg_shapes,
                             &arg_core_mapping, &per_core_arg_shapes,
                             custom_legalization_passes, client,
                             compilation_result.get());
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 20:29:34 UTC 2024
    - 6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/legalize_tf_quant_test.cc

                         mlir_to_hlo_args, metadata_proto, use_tuple_args,
                         /*device_type=*/"XLA_TPU_JIT", custom_legalization_passes,
                         /*shape_determination_fns=*/{}, arg_shapes,
                         &arg_core_mapping, &per_core_arg_shapes, client)
                         .status());
      }
    };
    
    TEST_F(LegalizeTFQuantTest, LegalizesModuleWithTFUniformQuantization) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 29 18:43:55 UTC 2024
    - 7.2K bytes
    - Viewed (0)
Back to top